package com.larry.design.creatation.singleton;

import org.junit.Test;

/**
 * @author larry
 * @Title: design-frame
 * @Package com.larry.design.creatation.singleton
 * @Description: TODO
 * @date 8/31/2112:20 PM
 */
public class DesignTest {

    @Test
    public void test(){
        Person person1 = Person.getPerson();
        Person person2 = Person.getPerson();

        System.out.println(person1 == person2);
    }

}
